<template>
  <div></div>
</template>

<script>
  import { defineComponent } from 'vue';
  import { useMicroStore } from '@common/store/micro-store';
  import { showWorkFlowOperationWin } from '@/hooks/util';
  export default defineComponent({
    name: 'WorkflowOperation',
    components: {},
    setup() {
      // 获取子应用store
      const microStore = useMicroStore();
      // 注册事件
      microStore.on('workflow-operation-init', (options, fn) => {
        // ...业务逻辑
        showWorkFlowOperationWin(options, fn);
      });
      return {};
    },
  });
</script>
